package com.bs.visitservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bs.visitservice.dao.CommentMapper;
import com.bs.visitservice.entity.Comment;
import com.bs.visitservice.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author idea
* @date 2020-02-06 09:13
**/
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements CommentService{
    @Autowired
    private CommentMapper commentMapper;
    @Override
    public List<Map<String, Object>> querySellerComments(Map cond) {
        return commentMapper.querySellerComments(cond);
    }
}